<?php
class UserListViewModel extends ViewModel {
   public $viewFields = array(
     'User'=>array('token','openid','id','nickname','name','headimgurl','sex','hospital','created','level','mobile','headimgurl','image','status','_type'=>'LEFT'),
     'UserLevel'=>array('level'=>'levelname', '_on'=>'User.level=UserLevel.id'),
   );
 }